package com.lzp.service;

import com.lzp.pojo.SysUser;
import com.lzp.utils.PagedGridResult;

import java.util.List;

/**
 * @description: 用户service接口
 * @author: lzp
 * @createTime: 2021-08-03 22:15
 **/
public interface UserService {

    void saveUser(SysUser user);

    void updateUser(SysUser user);

    void deleteUser(String userId);

    SysUser queryUserById(String userId);

    List<SysUser> queryUserList(SysUser user);

    List<SysUser> queryUserListPaged(SysUser user, Integer page, Integer pageSize);

    PagedGridResult queryUserListPagedGrid(SysUser user, Integer page, Integer pageSize);

    SysUser queryUserByIdCustom(String userId);

    void saveUserTransactional(SysUser user);
}
